<?php
/**
 * generreqtype batch del file di release del meta-base
 */
require_once("../../../config.inc.php");
require_once(SERVER_FS_ROOT."/app/_inc/sdao/StructuredDataAccessObject.php");
require_once(SERVER_FS_ROOT."/app/_inc/mix.func.php");
require_once(SERVER_FS_ROOT."/app/util/imex/_inc/importExport.func.php");
require_once(SERVER_FS_ROOT."/app/util/imex/_inc/genRel.func.php");
$objSDAO = new SDAO($aMetaConPar);

$nomeFile = trim($argv[1]);

$sMetaBaseTxt = genMetaBaseTxt();

if(!file_put_contents($nomeFile, $sMetaBaseTxt)) {
	sxBatchOut(_t("Impossibile creare il file %s",$nomeFile),true);
}
exit();
?>
